<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>教师首页</title>
    <!--导入layui--><!--导入jquery包-->
    <script src="../jQuery/jquery-1.11.2.js"></script>
    <!--导入layui包-->
    <link rel="stylesheet" href="../layui/layui/css/layui.css"/>
    <script src="../layui/layui/layui.js"></script>
    <!--相关样式-->
    <style>
        #test img{
            width: 100%;
            height: 600px;
        }
        #explain{
            font-size: 40px;
            font-family: "微软雅黑";
            margin-left: 120px;
        }
        #explain img{
            width: 1100px;
            height: 510px;
        }
    </style>
</head>
<!--轮播图-->
<body>
    <div class="layui-carousel" id="test">
        <div carousel-item>
            <div><img src="../img/bimg01.jpg"></div>
            <div><img src="../img/bimg02.jpg"></div>
            <div><img src="../img/bimg03.jpg"></div>
            <div><img src="../img/bimg04.jpg"></div>
        </div>
    </div>
    <!--功能说明图-->
    <div style="margin-top: 50px">
        <img src="../img/ph1.png">
        <img src="../img/ph2.png">
        <img src="../img/ph3.png">
    </div>
    <div id="explain">
        <span>安全可靠</span>
        <hr style="width: 1100px;margin-left: 20px"/>
        <img src="../img/hd1.jpg"><br/>
        <span>功能强大</span>
        <hr style="width: 1100px;margin-left: 20px"/>
        <img src="../img/hd2.jpg"><br/>
        <span>友好易用</span>
        <hr style="width: 1100px;margin-left: 20px"/>
        <img src="../img/hd3.jpg"><br/>
        <span>科技智能</span>
        <hr style="width: 1100px;margin-left: 20px"/>
        <img src="../img/hd4.jpg">

    </div>




<script src="../layui/layui/layui.js"></script>
<script>
    layui.use('carousel', function(){
        var carousel = layui.carousel;
        //建造实例
        carousel.render({
            elem: '#test'
            ,height:'600px'
            ,width: '100%' //设置容器宽度
            ,arrow: 'always' //始终显示箭头
            ,interval:'3000'//下一条公告时间为5秒
        });
    });
</script>
</body>
</html>
